function goToURL(url)
{
	window.location.href(url);
}

function showMessage(id, type, content)
{
	
	var lblMessage = document.getElementById('lblMessage');
	if(lblMessage == null)
	{
		//window.alert(id + "\n[" + type + "]" + content);
		window.alert(content);
	}
	else
	{
		lblMessage.innerText= content;
	}
} 

function onDelete(dvdId)
{
	var result;
	result = confirm("确认要删除吗?");
	if(result==true)
	{
		window.location.href("GDJC001.do?action=cancel&dvdId=" + dvdId);
	}
}